package com.sspro.simplertmp.core;

public class BasicProfile {

    /**
     * 服务器地址
     */
    public String serverAddress;

    /**
     * 推流地址
     */
    public String rtmpPushAddress;

    /**
     * 命令端口
     */
    public int cmdPort;

    /**
     * 数据端口
     */
    public int dataPort;

    /**
     * 传输方式
     */
    public int transMode;

    /**
     * 路由模式
     */
    public int routerMode;

    public BasicProfile() {}

    public BasicProfile(String serverAddress, String rtmpPushAddress,
                        int cmdPort, int dataPort, int transMode, int routerMode) {
        this.serverAddress = serverAddress;
        this.rtmpPushAddress = rtmpPushAddress;
        this.cmdPort = cmdPort;
        this.dataPort = dataPort;
        this.transMode = transMode;
        this.routerMode = routerMode;
    }
}


